import axios from "axios";
function Users() {
    const test = () => {
        axios.get("http://localhost:8000/supply", {
            params: {
                optionType: "search"
            }
        }).then((res) => {
            console.log(res);
        })
    }
    return (
        <div>
            <h1>Users</h1>
            <button onClick={() => { test() }}>测试</button>
        </div>
    );
}

export default Users;